package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.plugin.dto.MonkeyDto;
import com.shiwaixiangcun.core.service.BaseService;
import com.shiwaixiangcun.monitor.domain.WorkOrderCategory;
import com.shiwaixiangcun.monitor.domain.WorkOrderQualityAllotRule;
import com.shiwaixiangcun.monitor.dto.WorkOrderQualityAllotRuleDto;

import java.util.List;

/**
 * Created by Administrator on 2017/11/23.
 */
public interface WorkOrderQualityAllotRuleService extends BaseService<WorkOrderQualityAllotRule, Long> {


    List<WorkOrderQualityAllotRuleDto> ruleList();

    void ruleAdd(MonkeyDto monkeyDto);

    void ruleRemove(Long id);

    WorkOrderQualityAllotRule getUsableRule(WorkOrderCategory category);

}
